{{ $baseUrl := .Site.BaseURL }}
{{ $isHomePage := eq .Title .Site.Title }}
<hr />

<div class="row">
    <div class="col-sm-12">
        {{ if eq $isHomePage true }}
	    <div class="pull-right">
        {{ else }}
	    <div class="text-center">
        {{ end }}
		    <p class="doc-footer-em"><a href="#">回到顶部↑</a></p>
	    </div>
	</div>
</div>

</div> <!-- /.container -->

<footer class="doc-footer">
<span id="busuanzi_container_site_pv">
    本站访问量：<span id="busuanzi_value_site_pv"></span>次
</span>
&nbsp;
<span id="busuanzi_container_site_uv">
    您是本站第 <span id="busuanzi_value_site_uv"></span> 位访问者
</span>
	{{ with .Site.Params.repositoryUrl }}<p class="doc-footer-em">Browse <strong><a href="{{ . }}">Repository</a></strong></p>{{ end }}
    <p>{{ with .Site.Copyright }}{{ . | safeHTML }}{{ end }} Generated by <a href="http://gohugo.io/">Hugo</a></p>
</footer>

{{ with .Site.Params.analytics }}<script>
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
	ga('create', '{{ . }}', 'auto');
	ga('send', 'pageview');
</script>{{ end }}



<script src="{{ $baseUrl }}/js/jquery-1.11.2.min.js"></script>
<script src="{{ $baseUrl }}/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="{{ $baseUrl }}/js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="{{ $baseUrl }}/js/ie10-viewport-bug-workaround.js"></script>

</body>
</html>
